package com.haochen.springgatewaydemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhangquancheng
 * @Description: 接口测试类
 */
@RestController
public class TestController {

    @RequestMapping("/haochen/test1")
    public Object test1(){
        return "i am test1";
    }

    @RequestMapping("/haochen2/test2")
    public Object test2(){
        return "i am test2";
    }
}
